Skip to content

update to mlx 0.30.0 - #299

Merged
davidkoski merged 9 commits into
mainfrom
mlx-v0.29.4
Dec 1, 2025
Merged

davidkoski merged 9 commits into
mainfrom
mlx-v0.29.4

Conversation

@davidkoski

@davidkoski davidkoski commented Nov 18, 2025 •

Copy link
Copy Markdown
Member

Proposed changes

update to mlx 0.30.0

  • add median
  • quantization parameters now optional

Note: this does NOT enable NAX -- that requires building shaders with -std=metal4.0 and we don't have control over that. Solutions being investigated.

@davidkoski

Copy link
Copy Markdown
Member Author

@incertum FYI

@davidkoski
davidkoski requested a review from awni November 18, 2025 23:25
@incertum

Copy link
Copy Markdown
Contributor

@incertum FYI

Excellent @davidkoski -- thanks for already starting this.
At this point, we are waiting on the mlx-c bump in order to finalize this PR?

@davidkoski

Copy link
Copy Markdown
Member Author

@incertum FYI

Excellent @davidkoski -- thanks for already starting this. At this point, we are waiting on the mlx-c bump in order to finalize this PR?

I think that is ready. We will use mlx v0.30.0. This should be usable for most purposes but I can't merge it until I can verify that the NAX pieces work.

@davidkoski

Copy link
Copy Markdown
Member Author

(and I need to update the tags we point to)

@davidkoski

Copy link
Copy Markdown
Member Author

ok, mlx-c and mlx are up-to-date and build is back to working. I think the CMakeList at the top level needs to be updated to the mlx-c branch if you want to use that (I usually do this last once the mlx-c tag is cut).

@davidkoski davidkoski changed the title update to mlx 0.29.4 (or later) update to mlx 0.30.0 Dec 1, 2025
Comment thread Source/MLX/Ops.swift Outdated
/// - Parameters:
/// - a: the first array
/// - axis: axis to reduce over
/// - keepDims: if `true`keep reduced axis as singleton dimension

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// - keepDims: if `true`keep reduced axis as singleton dimension
/// - keepDims: if `true` keep reduced axis as singleton dimension

Comment thread Source/MLX/Ops.swift Outdated
/// - Parameters:
/// - a: the first array
/// - axes: axes to reduce over
/// - keepDims: if `true`keep reduced axis as singleton dimension

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// - keepDims: if `true`keep reduced axis as singleton dimension
/// - keepDims: if `true` keep reduced axis as singleton dimension

Comment thread Source/MLX/Ops.swift Outdated
///
/// - Parameters:
/// - a: the first array
/// - keepDims: if `true`keep reduced axis as singleton dimension

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// - keepDims: if `true`keep reduced axis as singleton dimension
/// - keepDims: if `true` keep reduced axis as singleton dimension

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes, some copy-pasta here -- there are 60 occurrences!

@awni awni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just some nits!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants